package com.example.java1mysql1.infrastructure;

import com.example.java1mysql1.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface JpaStudent extends JpaRepository<Student, Long> {

    Student findByStudentCode(String code);
}
